package com.it.cn.p1_HomeWork;

public class MsgTest {
    public static void main(String[] args) {
        Manager manager = new Manager();
        Coder coder = new Coder();
        //manager
        manager.setId(888);
        manager.setSalary(15000);
        manager.setBonus(6000);
        manager.setName("张三");
        manager.work();
        //coder
        coder.setId(666);
        coder.setSalary(10000);
        coder.setName("李四");
        coder.work();

    }
}
